package com.dsjy.yf.address.entity.dataobject;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author whj
 * @version 1.0
 * @date 2021-03-02 8:56
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("poi")
public class PoiDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = 2726840622957733429L;
    @TableId("id")
    private Integer id;
    private String poiName;
    private String poiAlias;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Timestamp updateTime;
    @JsonIgnore
    private Boolean added;
    @JsonIgnore
    private Boolean deleted;
}
